package dao;

import java.util.List;

import dao.models.Answer;
import dao.models.Chapter;
import dao.models.Question;

public interface ILoader {

    List<Chapter> getChapters();

    Chapter getChapter(String id);

    Answer getAnswerById(String answerId);

    boolean addNewQuestionToChapter(String chapterId, Question q);
    
    boolean addNewChapter(Chapter chapter);
}
